------------------------------------------------------------------------------------------------------
      name:  <unnamed>
       log:  /Users/nealbeck/Dropbox/FEs/dataverse/dv_for_simon_1_10/beck_table_1.log
  log type:  text
 opened on:  11 Jan 2019, 17:04:24

. timer clear

. timer on 1

. use "besley.dta"

. *** Note that table 1 has only a small subset of the output produced here
. *** The output for table 1 is saved and then printed in tabular form in beck_table_1.txt
.  regress  graduate  Democracy logGDPcapita i.country   , cluster(country)

Linear regression                               Number of obs     =      1,146
                                                F(1, 145)         =          .
                                                Prob > F          =          .
                                                R-squared         =     0.2939
                                                Root MSE          =     .40884

                              (Std. Err. adjusted for 146 clusters in country)
------------------------------------------------------------------------------
             |               Robust
    graduate |      Coef.   Std. Err.      t    P>|t|     [95% Conf. Interval]
-------------+----------------------------------------------------------------
   Democracy |   .2598473   .0431606     6.02   0.000     .1745422    .3451524
logGDPcapita |   .0951952   .0307677     3.09   0.002      .034384    .1560063
             |
     country |
          2  |   .1913647   .0434737     4.40   0.000     .1054406    .2772888
          3  |  -.1256688    .040617    -3.09   0.002    -.2059468   -.0453909
          7  |   .4552878   .0144513    31.51   0.000     .4267254    .4838502
          9  |   .1755288   .0646246     2.72   0.007      .047801    .3032567
         10  |   .0498533   .0671511     0.74   0.459    -.0828682    .1825748
         12  |  -.1953316   .0790517    -2.47   0.015    -.3515741   -.0390892
         13  |   .0107357   .0666439     0.16   0.872    -.1209832    .1424546
         15  |  -.2388941   .0482304    -4.95   0.000    -.3342195   -.1435686
         17  |  -.1847772   .0597212    -3.09   0.002    -.3028138   -.0667405
         18  |  -.1019193   .0193815    -5.26   0.000    -.1402261   -.0636126
         21  |   .0258326   .0733561     0.35   0.725    -.1191528    .1708179
         22  |   .1185555   .0782942     1.51   0.132    -.0361898    .2733007
         24  |   .0129827   .0166575     0.78   0.437      -.01994    .0459055
         27  |  -.1222832   .0379844    -3.22   0.002    -.1973578   -.0472086
         29  |  -.0064561   .0453098    -0.14   0.887    -.0960091    .0830969
         30  |  -.1276513   .0342624    -3.73   0.000    -.1953696    -.059933
         32  |  -.1260038   .0503018    -2.50   0.013    -.2254233   -.0265843
         33  |  -.0124539   .0040252    -3.09   0.002    -.0204095   -.0044983
         34  |  -.0299687   .0123027    -2.44   0.016    -.0542845   -.0056529
         35  |   .0099045   .0032012     3.09   0.002     .0035775    .0162316
         36  |  -.0513454   .0165952    -3.09   0.002    -.0841451   -.0185457
         37  |   .4231277   .0803181     5.27   0.000     .2643822    .5818732
         40  |  -.0603855    .008477    -7.12   0.000      -.07714    -.043631
         41  |   .0353534   .0114265     3.09   0.002     .0127695    .0579373
         43  |   .4627656   .0582456     7.95   0.000     .3476455    .5778857
         44  |  -.1045844   .0338024    -3.09   0.002    -.1713934   -.0377753
         45  |   .2007846   .0399708     5.02   0.000      .121784    .2797853
         46  |  -.1335799   .0213585    -6.25   0.000    -.1757942   -.0913656
         47  |   .0397908   .0128607     3.09   0.002     .0143722    .0652094
         48  |   -.184624   .0318637    -5.79   0.000    -.2476012   -.1216467
         49  |  -.0147962   .0586981    -0.25   0.801    -.1308106    .1012183
         50  |   .6156896   .0226995    27.12   0.000      .570825    .6605542
         51  |  -.4805009   .0750405    -6.40   0.000    -.6288154   -.3321865
         52  |    .120314   .0411699     2.92   0.004     .0389433    .2016847
         54  |  -.1752584   .0827086    -2.12   0.036    -.3387286   -.0117881
         55  |   .0615705   .0594331     1.04   0.302    -.0558966    .1790376
         56  |  -.2647167   .0836906    -3.16   0.002    -.4301277   -.0993057
         57  |  -.0990036   .0319986    -3.09   0.002    -.1622476   -.0357596
         59  |   .2706392   .0346651     7.81   0.000      .202125    .3391533
         60  |   .0917885   .0460439     1.99   0.048     .0007846    .1827925
         61  |  -.0608342    .019662    -3.09   0.002    -.0996955    -.021973
         62  |    .177904   .0309705     5.74   0.000      .116692     .239116
         63  |   -.210692   .0300995    -7.00   0.000    -.2701825   -.1512015
         65  |  -.5323209   .0893924    -5.95   0.000    -.7090013   -.3556404
         69  |   .0148228   .0645635     0.23   0.819    -.1127842    .1424299
         70  |   .0399633   .0652278     0.61   0.541    -.0889568    .1688834
         73  |  -.1893226   .0611904    -3.09   0.002    -.3102628   -.0683823
         74  |   .3405574   .0216468    15.73   0.000     .2977734    .3833414
         75  |  -.4184396   .0595235    -7.03   0.000    -.5360853   -.3007938
         77  |   .0742683   .0663341     1.12   0.265    -.0568384    .2053749
         78  |   .2426709   .0221343    10.96   0.000     .1989233    .2864185
         79  |  -.0366573   .0499847    -0.73   0.465    -.1354501    .0621354
         84  |   .0262314   .0465313     0.56   0.574    -.0657358    .1181985
         85  |   .0348274   .0112565     3.09   0.002     .0125795    .0570754
         86  |   .3584486   .0210976    16.99   0.000     .3167501    .4001472
         88  |   .0786361   .0147026     5.35   0.000     .0495771    .1076951
         89  |   .1274743   .0324239     3.93   0.000     .0633898    .1915589
         91  |  -.0418877   .0654655    -0.64   0.523    -.1712776    .0875022
         93  |   -.308786   .0426701    -7.24   0.000    -.3931218   -.2244503
         94  |  -.0061895    .041882    -0.15   0.883    -.0889676    .0765887
         95  |   .2782096   .0495131     5.62   0.000      .180349    .3760702
         96  |   .0102516   .0505544     0.20   0.840    -.0896672    .1101703
         97  |  -.0868826   .0767555    -1.13   0.260    -.2385867    .0648216
         99  |  -.2176933   .0852526    -2.55   0.012    -.3861917   -.0491949
        100  |  -.1231539   .0721461    -1.71   0.090    -.2657478    .0194399
        101  |   -.217305   .0592652    -3.67   0.000    -.3344402   -.1001698
        102  |  -.3571167   .0636726    -5.61   0.000    -.4829631   -.2312704
        103  |   .3642806   .0438654     8.30   0.000     .2775824    .4509789
        105  |    .459363   .0285225    16.11   0.000     .4029893    .5157367
        107  |  -.1019072   .0329371    -3.09   0.002     -.167006   -.0368083
        108  |  -.1961157   .0609372    -3.22   0.002    -.3165556   -.0756759
        109  |  -.3272496   .1057693    -3.09   0.002    -.5362984   -.1182009
        111  |   -.084821   .0113126    -7.50   0.000    -.1071799   -.0624622
        113  |  -.3119141   .0478002    -6.53   0.000    -.4063892   -.2174389
        114  |   .2497194     .02029    12.31   0.000     .2096171    .2898217
        115  |   .0886365   .0192893     4.60   0.000      .050512    .1267609
        116  |  -.1444487   .0466868    -3.09   0.002    -.2367232   -.0521741
        118  |   .1806092   .0765328     2.36   0.020     .0293453    .3318732
        121  |  -.0864567   .0598324    -1.44   0.151     -.204713    .0317996
        122  |   .0604797   .0185823     3.25   0.001     .0237525     .097207
        123  |   .9074919   .0269013    33.73   0.000     .8543226    .9606612
        124  |  -.2108336   .0578143    -3.65   0.000    -.3251013   -.0965659
        126  |   .1835583    .010698    17.16   0.000     .1624143    .2047024
        130  |  -.0297058   .0096011    -3.09   0.002    -.0486821   -.0107296
        131  |   .0719411   .0617575     1.16   0.246      -.05012    .1940022
        133  |  -.0222263   .0429538    -0.52   0.606    -.1071228    .0626701
        135  |   .6174528   .0519878    11.88   0.000     .5147011    .7202045
        137  |  -.1216119   .0162865    -7.47   0.000    -.1538014   -.0894223
        139  |   .5708984   .0309529    18.44   0.000     .5097212    .6320757
        140  |  -.0559654   .0180884    -3.09   0.002    -.0917165   -.0202144
        141  |  -.1278908   .0217304    -5.89   0.000    -.1708401   -.0849415
        142  |  -.4121233   .0581003    -7.09   0.000    -.5269562   -.2972903
        143  |   .1367744     .00862    15.87   0.000     .1197374    .1538113
        144  |  -.3161826   .0774111    -4.08   0.000    -.4691826   -.1631826
        147  |  -.2235817   .0852544    -2.62   0.010    -.3920835   -.0550799
        148  |   .1113079   .0291139     3.82   0.000     .0537654    .1688504
        149  |  -.0457048   .0092788    -4.93   0.000     -.064044   -.0273656
        150  |  -.0314822   .0205639    -1.53   0.128    -.0721259    .0091614
        152  |  -.4319363   .0788071    -5.48   0.000    -.5876953   -.2761774
        153  |  -.1704195   .0550807    -3.09   0.002    -.2792843   -.0615546
        156  |  -.0112357   .0205794    -0.55   0.586    -.0519101    .0294387
        158  |  -.1189489   .0503284    -2.36   0.019     -.218421   -.0194768
        160  |   .2140302    .043144     4.96   0.000     .1287579    .2993025
        161  |   .0720057   .0422433     1.70   0.090    -.0114865    .1554979
        162  |   -.043331   .0457415    -0.95   0.345    -.1337373    .0470753
        163  |  -.2588007   .0582694    -4.44   0.000    -.3739679   -.1436335
        164  |  -.0149042   .0452396    -0.33   0.742    -.1043185    .0745101
        166  |  -.3049663   .0985672    -3.09   0.002    -.4997803   -.1101522
        169  |   .0704546   .0437637     1.61   0.110    -.0160426    .1569519
        170  |  -.2409555   .0648411    -3.72   0.000    -.3691114   -.1127997
        171  |   .0091417   .0029547     3.09   0.002     .0033019    .0149815
        175  |  -.2277713   .0736172    -3.09   0.002    -.3732728   -.0822698
        176  |   .8422616   .0243681    34.56   0.000      .794099    .8904243
        179  |   .0975822    .021246     4.59   0.000     .0555904    .1395741
        180  |   .1631206   .0657411     2.48   0.014     .0331859    .2930553
        181  |   .0103907   .0774934     0.13   0.894    -.1427719    .1635534
        182  |    .461944   .0910311     5.07   0.000     .2820247    .6418633
        184  |  -.2338247   .0311481    -7.51   0.000    -.2953877   -.1722617
        185  |   .0053099   .0606337     0.09   0.930    -.1145302    .1251499
        186  |  -.0446754   .0552039    -0.81   0.420    -.1537836    .0644328
        187  |  -.0630239   .0464474    -1.36   0.177    -.1548253    .0287775
        191  |  -.1661784    .022243    -7.47   0.000    -.2101407    -.122216
        193  |  -.1088967   .0351962    -3.09   0.002    -.1784605   -.0393329
        194  |  -.1390138   .0658355    -2.11   0.036    -.2691351   -.0088926
        196  |   .2807686   .0557643     5.03   0.000     .1705528    .3909844
        197  |   .1970598   .0753472     2.62   0.010      .048139    .3459806
        198  |  -.1166086   .0376887    -3.09   0.002    -.1910988   -.0421184
        199  |   .6906529   .0077525    89.09   0.000     .6753304    .7059755
        200  |   .1032343   .0396322     2.60   0.010     .0249029    .1815657
        203  |   -.023578   .0076206    -3.09   0.002    -.0386397   -.0085162
        206  |   .0804259   .0857815     0.94   0.350    -.0891178    .2499696
        207  |  -.1530545   .0494683    -3.09   0.002    -.2508266   -.0552825
        208  |   -.220272   .0553611    -3.98   0.000     -.329691   -.1108529
        211  |  -.0947649   .0140604    -6.74   0.000    -.1225547    -.066975
        212  |   -.416254   .0590269    -7.05   0.000    -.5329183   -.2995896
        213  |  -.3490487   .1128149    -3.09   0.002    -.5720228   -.1260746
        214  |  -.3362731   .0787338    -4.27   0.000    -.4918872    -.180659
        215  |   .0035442    .086683     0.04   0.967    -.1677814    .1748697
        216  |   .0963841   .0601151     1.60   0.111     -.022431    .2151991
        219  |  -.2100633     .07114    -2.95   0.004    -.3506686    -.069458
        220  |  -.0690185   .0223072    -3.09   0.002    -.1131078   -.0249291
        223  |  -.0836882   .0270486    -3.09   0.002    -.1371487   -.0302278
        225  |   .4471329   .0422839    10.57   0.000     .3635605    .5307053
        226  |  -.2827171   .0422005    -6.70   0.000    -.3661247   -.1993095
        228  |   .6753637   .0437536    15.44   0.000     .5888864     .761841
             |
       _cons |  -.6142143   .1985183    -3.09   0.002    -1.006578    -.221851
------------------------------------------------------------------------------

.  scalar b1=_b[Democracy]

.  scalar se1=_se[Democracy]

.  scalar n1=e(N)

.  logit graduate  Democracy logGDPcapita i.country   , cluster(country)

note: 1.country != 0 predicts failure perfectly
      1.country dropped and 5 obs not used

note: 3.country != 0 predicts failure perfectly
      3.country dropped and 6 obs not used

note: 15.country != 0 predicts failure perfectly
      15.country dropped and 3 obs not used

note: 17.country != 0 predicts failure perfectly
      17.country dropped and 2 obs not used

note: 18.country != 0 predicts failure perfectly
      18.country dropped and 7 obs not used

note: 33.country != 0 predicts failure perfectly
      33.country dropped and 7 obs not used

note: 34.country != 0 predicts failure perfectly
      34.country dropped and 5 obs not used

note: 35.country != 0 predicts failure perfectly
      35.country dropped and 3 obs not used

note: 36.country != 0 predicts failure perfectly
      36.country dropped and 2 obs not used

note: 40.country != 0 predicts failure perfectly
      40.country dropped and 5 obs not used

note: 41.country != 0 predicts failure perfectly
      41.country dropped and 5 obs not used

note: 44.country != 0 predicts failure perfectly
      44.country dropped and 4 obs not used

note: 46.country != 0 predicts failure perfectly
      46.country dropped and 4 obs not used

note: 47.country != 0 predicts failure perfectly
      47.country dropped and 4 obs not used

note: 48.country != 0 predicts failure perfectly
      48.country dropped and 6 obs not used

note: 51.country != 0 predicts failure perfectly
      51.country dropped and 1 obs not used

note: 57.country != 0 predicts failure perfectly
      57.country dropped and 1 obs not used

note: 61.country != 0 predicts failure perfectly
      61.country dropped and 4 obs not used

note: 63.country != 0 predicts failure perfectly
      63.country dropped and 2 obs not used

note: 65.country != 0 predicts failure perfectly
      65.country dropped and 2 obs not used

note: 73.country != 0 predicts failure perfectly
      73.country dropped and 2 obs not used

note: 75.country != 0 predicts failure perfectly
      75.country dropped and 1 obs not used

note: 85.country != 0 predicts failure perfectly
      85.country dropped and 2 obs not used

note: 93.country != 0 predicts failure perfectly
      93.country dropped and 6 obs not used

note: 107.country != 0 predicts failure perfectly
      107.country dropped and 1 obs not used

note: 109.country != 0 predicts failure perfectly
      109.country dropped and 2 obs not used

note: 111.country != 0 predicts failure perfectly
      111.country dropped and 4 obs not used

note: 113.country != 0 predicts failure perfectly
      113.country dropped and 6 obs not used

note: 116.country != 0 predicts failure perfectly
      116.country dropped and 2 obs not used

note: 123.country != 0 predicts success perfectly
      123.country dropped and 2 obs not used

note: 130.country != 0 predicts failure perfectly
      130.country dropped and 4 obs not used

note: 135.country != 0 predicts success perfectly
      135.country dropped and 1 obs not used

note: 137.country != 0 predicts failure perfectly
      137.country dropped and 3 obs not used

note: 140.country != 0 predicts failure perfectly
      140.country dropped and 2 obs not used

note: 141.country != 0 predicts failure perfectly
      141.country dropped and 4 obs not used

note: 142.country != 0 predicts failure perfectly
      142.country dropped and 1 obs not used

note: 149.country != 0 predicts failure perfectly
      149.country dropped and 5 obs not used

note: 153.country != 0 predicts failure perfectly
      153.country dropped and 1 obs not used

note: 163.country != 0 predicts failure perfectly
      163.country dropped and 7 obs not used

note: 166.country != 0 predicts failure perfectly
      166.country dropped and 2 obs not used

note: 170.country != 0 predicts failure perfectly
      170.country dropped and 7 obs not used

note: 171.country != 0 predicts failure perfectly
      171.country dropped and 3 obs not used

note: 175.country != 0 predicts failure perfectly
      175.country dropped and 5 obs not used

note: 176.country != 0 predicts success perfectly
      176.country dropped and 3 obs not used

note: 182.country != 0 predicts success perfectly
      182.country dropped and 3 obs not used

note: 184.country != 0 predicts failure perfectly
      184.country dropped and 3 obs not used

note: 191.country != 0 predicts failure perfectly
      191.country dropped and 4 obs not used

note: 193.country != 0 predicts failure perfectly
      193.country dropped and 2 obs not used

note: 198.country != 0 predicts failure perfectly
      198.country dropped and 2 obs not used

note: 203.country != 0 predicts failure perfectly
      203.country dropped and 3 obs not used

note: 207.country != 0 predicts failure perfectly
      207.country dropped and 1 obs not used

note: 211.country != 0 predicts failure perfectly
      211.country dropped and 3 obs not used

note: 212.country != 0 predicts failure perfectly
      212.country dropped and 1 obs not used

note: 213.country != 0 predicts failure perfectly
      213.country dropped and 1 obs not used

note: 220.country != 0 predicts failure perfectly
      220.country dropped and 3 obs not used

note: 223.country != 0 predicts failure perfectly
      223.country dropped and 5 obs not used

note: 226.country != 0 predicts failure perfectly
      226.country dropped and 3 obs not used

note: 228.country != 0 predicts success perfectly
      228.country dropped and 2 obs not used

note: 225.country omitted because of collinearity
Iteration 0:   log pseudolikelihood = -610.79193  
Iteration 1:   log pseudolikelihood = -494.00481  
Iteration 2:   log pseudolikelihood = -488.41277  
Iteration 3:   log pseudolikelihood =  -488.3541  
Iteration 4:   log pseudolikelihood = -488.35403  
Iteration 5:   log pseudolikelihood = -488.35403  

Logistic regression                             Number of obs     =        956
                                                Wald chi2(1)      =          .
                                                Prob > chi2       =          .
Log pseudolikelihood = -488.35403               Pseudo R2         =     0.2005

                               (Std. Err. adjusted for 88 clusters in country)
------------------------------------------------------------------------------
             |               Robust
    graduate |      Coef.   Std. Err.      z    P>|z|     [95% Conf. Interval]
-------------+----------------------------------------------------------------
   Democracy |   1.748056   .2686818     6.51   0.000     1.221449    2.274662
logGDPcapita |   .6606933   .1778635     3.71   0.000     .3120873    1.009299
             |
     country |
          1  |          0  (empty)
          2  |  -1.451705    .171956    -8.44   0.000    -1.788733   -1.114678
          3  |          0  (empty)
          7  |   .3697145   .1610508     2.30   0.022     .0540609    .6853682
          9  |  -1.535398   .1431962   -10.72   0.000    -1.816058   -1.254739
         10  |  -2.388776   .2290551   -10.43   0.000    -2.837716   -1.939836
         12  |  -3.571398   .2781258   -12.84   0.000    -4.116515   -3.026282
         13  |  -2.559019   .2250454   -11.37   0.000      -3.0001   -2.117938
         15  |          0  (empty)
         17  |          0  (empty)
         18  |          0  (empty)
         21  |   -2.55549   .2486432   -10.28   0.000    -3.042822   -2.068158
         22  |  -2.214926    .262494    -8.44   0.000    -2.729405   -1.700447
         24  |  -2.268849   .1878808   -12.08   0.000    -2.637088   -1.900609
         27  |  -3.497612   .1285882   -27.20   0.000     -3.74964   -3.245584
         29  |  -2.372608   .2334288   -10.16   0.000     -2.83012   -1.915096
         30  |  -3.761994   .1670117   -22.53   0.000     -4.08933   -3.434657
         32  |    -3.4164   .1829612   -18.67   0.000    -3.774998   -3.057803
         33  |          0  (empty)
         34  |          0  (empty)
         35  |          0  (empty)
         36  |          0  (empty)
         37  |  -.1567326   .2480559    -0.63   0.527    -.6429131     .329448
         40  |          0  (empty)
         41  |          0  (empty)
         43  |  -.0398894   .1334748    -0.30   0.765    -.3014952    .2217164
         44  |          0  (empty)
         45  |  -1.337078   .1286619   -10.39   0.000    -1.589251   -1.084905
         46  |          0  (empty)
         47  |          0  (empty)
         48  |          0  (empty)
         49  |  -2.560802   .2151197   -11.90   0.000    -2.982429   -2.139175
         50  |   1.006671   .1144174     8.80   0.000     .7824168    1.230925
         51  |          0  (empty)
         52  |   -1.73933   .2230735    -7.80   0.000    -2.176546   -1.302114
         54  |  -3.488038   .2869779   -12.15   0.000    -4.050504   -2.925572
         55  |  -1.827726   .1073668   -17.02   0.000    -2.038161   -1.617291
         56  |  -4.039789   .3142238   -12.86   0.000    -4.655657   -3.423922
         57  |          0  (empty)
         59  |  -.8778865   .1081747    -8.12   0.000    -1.089905   -.6658679
         60  |  -1.905474   .1304772   -14.60   0.000    -2.161204   -1.649743
         61  |          0  (empty)
         62  |  -1.152924   .0572591   -20.14   0.000    -1.265149   -1.040698
         63  |          0  (empty)
         65  |          0  (empty)
         69  |  -2.506403   .2233782   -11.22   0.000    -2.944216    -2.06859
         70  |  -2.403715   .2210165   -10.88   0.000      -2.8369   -1.970531
         73  |          0  (empty)
         74  |  -.3988662   .2154764    -1.85   0.064    -.8211922    .0234598
         75  |          0  (empty)
         77  |  -2.263721   .2192597   -10.32   0.000    -2.693462    -1.83398
         78  |   -.769574   .1216801    -6.32   0.000    -1.008063   -.5310855
         79  |  -2.601868    .175247   -14.85   0.000    -2.945345    -2.25839
         84  |  -2.219229   .1465722   -15.14   0.000    -2.506506   -1.931953
         85  |          0  (empty)
         86  |  -.2746935    .246776    -1.11   0.266    -.7583656    .2089786
         88  |  -1.660053   .1710784    -9.70   0.000    -1.995361   -1.324746
         89  |  -1.595583    .159792    -9.99   0.000    -1.908769   -1.282396
         91  |  -2.798002   .2227871   -12.56   0.000    -3.234657   -2.361347
         93  |          0  (empty)
         94  |  -2.477208    .152063   -16.29   0.000    -2.775246    -2.17917
         95  |  -.7944321   .0498901   -15.92   0.000    -.8922149   -.6966493
         96  |  -2.034868   .0848657   -23.98   0.000    -2.201202   -1.868534
         97  |  -3.065318   .2666864   -11.49   0.000    -3.588014   -2.542622
         99  |  -3.727957   .3072817   -12.13   0.000    -4.330218   -3.125696
        100  |  -3.358506   .2847548   -11.79   0.000    -3.916615   -2.800397
        101  |  -3.549465   .2150462   -16.51   0.000    -3.970948   -3.127982
        102  |  -4.952431   .2698801   -18.35   0.000    -5.481386   -4.423476
        103  |  -.2619124   .0549652    -4.77   0.000    -.3696423   -.1541826
        105  |   .0529822   .2172534     0.24   0.807    -.3728266     .478791
        107  |          0  (empty)
        108  |   -4.16254   .2890461   -14.40   0.000     -4.72906    -3.59602
        109  |          0  (empty)
        111  |          0  (empty)
        113  |          0  (empty)
        114  |  -.7897998   .1830108    -4.32   0.000    -1.148494   -.4311052
        115  |   -1.59669   .1458064   -10.95   0.000    -1.882466   -1.310915
        116  |          0  (empty)
        118  |  -1.943938   .2603773    -7.47   0.000    -2.454268   -1.433608
        121  |  -2.871642   .2154402   -13.33   0.000    -3.293897   -2.449387
        122  |  -1.790326   .2372956    -7.54   0.000    -2.255416   -1.325235
        123  |          0  (empty)
        124  |  -3.548648   .2164887   -16.39   0.000    -3.972958   -3.124338
        126  |  -1.015548    .246643    -4.12   0.000    -1.498959   -.5321362
        130  |          0  (empty)
        131  |  -2.235478   .2177552   -10.27   0.000     -2.66227   -1.808685
        133  |  -2.477322   .0508073   -48.76   0.000    -2.576903   -2.377742
        135  |          0  (empty)
        137  |          0  (empty)
        139  |   .7157706   .0801954     8.93   0.000     .5585904    .8729508
        140  |          0  (empty)
        141  |          0  (empty)
        142  |          0  (empty)
        143  |  -1.329162   .2160914    -6.15   0.000    -1.752694    -.905631
        144  |   -4.47475   .2987474   -14.98   0.000    -5.060285   -3.889216
        147  |  -3.748934   .3044661   -12.31   0.000    -4.345676   -3.152191
        148  |  -1.520503   .0950565   -16.00   0.000     -1.70681   -1.334196
        149  |          0  (empty)
        150  |  -2.646122   .1960223   -13.50   0.000    -3.030319   -2.261926
        152  |  -5.533162   .3150976   -17.56   0.000    -6.150742   -4.915582
        153  |          0  (empty)
        156  |  -2.427183   .2251629   -10.78   0.000    -2.868494   -1.985872
        158  |  -3.183912   .1631407   -19.52   0.000    -3.503662   -2.864162
        160  |  -1.314606   .1341672    -9.80   0.000    -1.577569   -1.051643
        161  |  -1.973742   .1844752   -10.70   0.000    -2.335306   -1.612177
        162  |  -2.508542   .2406908   -10.42   0.000    -2.980287   -2.036797
        163  |          0  (empty)
        164  |  -2.432994   .1690777   -14.39   0.000     -2.76438   -2.101608
        166  |          0  (empty)
        169  |  -1.981831   .1268974   -15.62   0.000    -2.230546   -1.733117
        170  |          0  (empty)
        171  |          0  (empty)
        175  |          0  (empty)
        176  |          0  (empty)
        179  |  -1.653337   .2577332    -6.41   0.000    -2.158485   -1.148189
        180  |   -1.63035   .1546967   -10.54   0.000     -1.93355    -1.32715
        181  |  -2.662662    .264511   -10.07   0.000    -3.181094    -2.14423
        182  |          0  (empty)
        184  |          0  (empty)
        185  |  -2.490553   .2163221   -11.51   0.000    -2.914537    -2.06657
        186  |  -2.709142   .2049533   -13.22   0.000    -3.110843   -2.307441
        187  |  -2.610383   .2373819   -11.00   0.000    -3.075643   -2.145123
        191  |          0  (empty)
        193  |          0  (empty)
        194  |  -3.364229   .2528625   -13.30   0.000    -3.859831   -2.868628
        196  |  -.8036257   .0929952    -8.64   0.000    -.9858929   -.6213585
        197  |  -1.313736   .1865895    -7.04   0.000    -1.679445   -.9480276
        198  |          0  (empty)
        199  |   1.540106   .2857836     5.39   0.000     .9799809    2.100232
        200  |  -1.803687   .1036996   -17.39   0.000    -2.006934   -1.600439
        203  |          0  (empty)
        206  |  -2.463217   .3001593    -8.21   0.000    -3.051519   -1.874916
        207  |          0  (empty)
        208  |  -3.849811   .2038905   -18.88   0.000    -4.249429   -3.450193
        211  |          0  (empty)
        212  |          0  (empty)
        213  |          0  (empty)
        214  |  -4.400491   .2804661   -15.69   0.000    -4.950195   -3.850788
        215  |  -2.782861   .3033303    -9.17   0.000    -3.377377   -2.188344
        216  |  -1.945502   .1482317   -13.12   0.000    -2.236031   -1.654974
        219  |  -3.943123   .2687401   -14.67   0.000    -4.469844   -3.416402
        220  |          0  (empty)
        223  |          0  (empty)
        225  |          0  (omitted)
        226  |          0  (empty)
        228  |          0  (empty)
             |
       _cons |  -4.942934   1.384528    -3.57   0.000    -7.656559   -2.229309
------------------------------------------------------------------------------

.   scalar b3=_b[Democracy]

.  scalar se3=_se[Democracy]

.  scalar n3=e(N)

. margins, dydx(Democracy)

Average marginal effects                        Number of obs     =        956
Model VCE    : Robust

Expression   : Pr(graduate), predict()
dy/dx w.r.t. : Democracy

------------------------------------------------------------------------------
             |            Delta-method
             |      dy/dx   Std. Err.      z    P>|z|     [95% Conf. Interval]
-------------+----------------------------------------------------------------
   Democracy |    .298206    .040657     7.33   0.000     .2185197    .3778923
------------------------------------------------------------------------------

. matrix rt=r(table)

. scalar ame=rt[1,1]

. scalar amese =rt[2,1]

. gen notall0=e(sample)

. **** This generates a dummy variable which is one for an observation in an AllZero group and 0 for o
> bservaions in an  Allzero  group - note that this is saved in the R workspace 
.  regress  graduate  Democracy logGDPcapita i.country  if notall0==1 , cluster(country)

Linear regression                               Number of obs     =        956
                                                F(1, 87)          =          .
                                                Prob > F          =          .
                                                R-squared         =     0.2258
                                                Root MSE          =     .43694

                               (Std. Err. adjusted for 88 clusters in country)
------------------------------------------------------------------------------
             |               Robust
    graduate |      Coef.   Std. Err.      t    P>|t|     [95% Conf. Interval]
-------------+----------------------------------------------------------------
   Democracy |   .2944701   .0460261     6.40   0.000     .2029883    .3859519
logGDPcapita |   .0959118   .0325595     2.95   0.004     .0311962    .1606274
             |
     country |
          7  |   .2904099   .0370299     7.84   0.000     .2168091    .3640108
          9  |  -.0066218    .036194    -0.18   0.855    -.0785613    .0653178
         10  |  -.1507434   .0260425    -5.79   0.000    -.2025057    -.098981
         12  |  -.3962684   .0405446    -9.77   0.000    -.4768553   -.3156816
         13  |  -.1818049   .0301446    -6.03   0.000    -.2417206   -.1218892
         21  |  -.1749449   .0336466    -5.20   0.000    -.2418212   -.1080687
         22  |  -.0823605   .0396329    -2.08   0.041    -.1611352   -.0035857
         24  |  -.1605685   .0283997    -5.65   0.000    -.2170159    -.104121
         27  |  -.2983754   .0208746   -14.29   0.000    -.3398659    -.256885
         29  |   -.206222   .0181053   -11.39   0.000    -.2422083   -.1702358
         30  |  -.3068225   .0156731   -19.58   0.000    -.3379744   -.2756705
         32  |  -.3065691   .0233539   -13.13   0.000    -.3529875   -.2601507
         37  |   .2221561   .0420649     5.28   0.000     .1385476    .3057646
         43  |   .2675425   .0175106    15.28   0.000     .2327383    .3023468
         45  |    .015593   .0083301     1.87   0.065    -.0009639      .03215
         49  |  -.2151267   .0159931   -13.45   0.000    -.2469148   -.1833386
         50  |   .4419706   .0244576    18.07   0.000     .3933583    .4905828
         52  |  -.0745479   .0118128    -6.31   0.000     -.098027   -.0510688
         54  |   -.376295   .0449212    -8.38   0.000    -.4655807   -.2870093
         55  |  -.1093248   .0416378    -2.63   0.010    -.1920843   -.0265653
         56  |  -.4631418    .047318    -9.79   0.000    -.5571915   -.3690922
         59  |   .0880379   .0114125     7.71   0.000     .0653543    .1107215
         60  |  -.0920282    .015115    -6.09   0.000    -.1220708   -.0619856
         62  |   .0049334   .0236301     0.21   0.835     -.042034    .0519007
         69  |  -.1856954   .0228747    -8.12   0.000    -.2311612   -.1402295
         70  |  -.1586839   .0245239    -6.47   0.000    -.2074278     -.10994
         74  |   .1584825   .0284371     5.57   0.000     .1019606    .2150044
         77  |   -.122515   .0269517    -4.55   0.000    -.1760844   -.0689456
         78  |   .0689668   .0247384     2.79   0.007     .0197966    .1181369
         79  |  -.2268091   .0110406   -20.54   0.000    -.2487535   -.2048647
         84  |   -.159402   .0129984   -12.26   0.000    -.1852376   -.1335664
         86  |   .1765084   .0341476     5.17   0.000     .1086364    .2443804
         88  |  -.0920123   .0313739    -2.93   0.004    -.1543713   -.0296533
         89  |  -.0560584   .0118163    -4.74   0.000    -.0795445   -.0325723
         91  |  -.2310314    .031293    -7.38   0.000    -.2932297   -.1688332
         94  |  -.1889927   .0131744   -14.35   0.000    -.2151783   -.1628071
         95  |    .103832   .0300653     3.45   0.001     .0440739    .1635901
         96  |  -.1554672   .0404738    -3.84   0.000    -.2359132   -.0750212
         97  |  -.2877558   .0377755    -7.62   0.000    -.3628388   -.2126728
         99  |  -.4187984   .0479423    -8.74   0.000    -.5140889    -.323508
        100  |  -.3141065   .0378716    -8.29   0.000    -.3893804   -.2388327
        101  |  -.4176544   .0166169   -25.13   0.000    -.4506824   -.3846265
        102  |  -.5576074    .021792   -25.59   0.000    -.6009213   -.5142935
        103  |   .1987177   .0369911     5.37   0.000     .1251939    .2722414
        105  |   .2714833   .0266256    10.20   0.000     .2185622    .3244045
        108  |  -.3794077     .03123   -12.15   0.000    -.4414807   -.3173348
        114  |   .0709801   .0248766     2.85   0.005     .0215352    .1204251
        115  |  -.0832765   .0277169    -3.00   0.003    -.1383668   -.0281861
        118  |  -.0202578   .0375061    -0.54   0.590    -.0948052    .0542896
        121  |  -.2868249   .0172546   -16.62   0.000    -.3211203   -.2525294
        122  |  -.1181785   .0278317    -4.25   0.000    -.1734971   -.0628599
        124  |  -.4111343    .015055   -27.31   0.000    -.4410577   -.3812109
        126  |   .0103502   .0399296     0.26   0.796    -.0690141    .0897146
        131  |  -.1284893   .0194935    -6.59   0.000    -.1672348   -.0897438
        133  |  -.1909312   .0327869    -5.82   0.000    -.2560986   -.1257637
        139  |   .4056362   .0336301    12.06   0.000     .3387928    .4724796
        143  |  -.0347762   .0381869    -0.91   0.365    -.1106768    .0411244
        144  |  -.5121795   .0410582   -12.47   0.000    -.5937872   -.4305719
        147  |  -.4246869   .0479443    -8.86   0.000    -.5199814   -.3293925
        148  |  -.0633576   .0215565    -2.94   0.004    -.1062036   -.0205117
        150  |  -.2079859   .0241353    -8.62   0.000    -.2559574   -.1600143
        152  |  -.6328664   .0402504   -15.72   0.000    -.7128685   -.5528644
        156  |   -.190937   .0253433    -7.53   0.000    -.2413095   -.1405645
        158  |  -.3019736   .0203649   -14.83   0.000    -.3424511   -.2614961
        160  |   .0269195   .0073025     3.69   0.000      .012405     .041434
        161  |  -.1193165   .0019294   -61.84   0.000    -.1231514   -.1154817
        162  |  -.2431236   .0171696   -14.16   0.000    -.2772499   -.2089972
        164  |  -.2048306   .0049364   -41.49   0.000    -.2146422   -.1950191
        169  |  -.1123989   .0145119    -7.75   0.000    -.1412429   -.0835549
        179  |  -.0844398   .0306605    -2.75   0.007    -.1453808   -.0234988
        180  |    -.02029   .0363149    -0.56   0.578    -.0924698    .0518897
        181  |   -.190503   .0386673    -4.93   0.000    -.2673584   -.1136477
        185  |  -.1950844   .0181746   -10.73   0.000    -.2312084   -.1589605
        186  |  -.2403735   .0131922   -18.22   0.000    -.2665943   -.2141526
        187  |  -.2628572   .0158132   -16.62   0.000    -.2942876   -.2314267
        194  |  -.3327424   .0283036   -11.76   0.000     -.388999   -.2764859
        196  |   .1091325   .0379182     2.88   0.005     .0337659    .1844991
        197  |   .0220713   .0528052     0.42   0.677    -.0828847    .1270273
        199  |   .5262922   .0515449    10.21   0.000     .4238412    .6287432
        200  |  -.0766503   .0162072    -4.73   0.000    -.1088639   -.0444368
        206  |  -.1206934    .048568    -2.49   0.015    -.2172277   -.0241592
        208  |  -.4114308   .0170565   -24.12   0.000    -.4453324   -.3775291
        214  |  -.5372012   .0401622   -13.38   0.000    -.6170279   -.4573744
        215  |  -.1975992   .0496329    -3.98   0.000    -.2962499   -.0989485
        216  |  -.0877943   .0295026    -2.98   0.004    -.1464338   -.0291548
        219  |  -.3949338   .0410702    -9.62   0.000    -.4765653   -.3133024
        225  |   .2700501   .0216578    12.47   0.000     .2270029    .3130973
             |
       _cons |  -.4542969     .24331    -1.87   0.065    -.9379019    .0293081
------------------------------------------------------------------------------

.  scalar b2=_b[Democracy]

.  scalar se2=_se[Democracy]

.  scalar n2=e(N)

. regress  graduate  Democracy logGDPcapita i.country  if notall0==0 , cluster(country)

Linear regression                               Number of obs     =        190
                                                F(0, 57)          =          .
                                                Prob > F          =          .
                                                R-squared         =     1.0000
                                                Root MSE          =          0

                               (Std. Err. adjusted for 58 clusters in country)
------------------------------------------------------------------------------
             |               Robust
    graduate |      Coef.   Std. Err.      t    P>|t|     [95% Conf. Interval]
-------------+----------------------------------------------------------------
   Democracy |   1.29e-19   4.91e-18     0.03   0.979    -9.70e-18    9.96e-18
logGDPcapita |  -7.26e-17   2.37e-17    -3.06   0.003    -1.20e-16   -2.51e-17
             |
     country |
          3  |   1.73e-16   9.51e-17     1.82   0.075    -1.77e-17    3.63e-16
         15  |   1.94e-16   9.76e-17     1.99   0.051    -1.18e-18    3.90e-16
         17  |   2.15e-16   1.01e-16     2.13   0.038     1.28e-17    4.17e-16
         18  |   4.93e-17   9.11e-17     0.54   0.591    -1.33e-16    2.32e-16
         33  |   6.98e-17   9.04e-17     0.77   0.443    -1.11e-16    2.51e-16
         34  |   5.58e-17   8.90e-17     0.63   0.534    -1.22e-16    2.34e-16
         35  |   6.99e-17   8.91e-17     0.78   0.436    -1.09e-16    2.48e-16
         36  |   1.21e-16   9.08e-17     1.34   0.186    -6.04e-17    3.03e-16
         40  |   7.89e-17   8.90e-17     0.89   0.379    -9.93e-17    2.57e-16
         41  |   3.98e-17   8.96e-17     0.44   0.659    -1.40e-16    2.19e-16
         44  |   1.52e-16   9.30e-17     1.63   0.109    -3.47e-17    3.38e-16
         46  |   6.88e-17   8.94e-17     0.77   0.445    -1.10e-16    2.48e-16
         47  |   4.49e-17   8.93e-17     0.50   0.617    -1.34e-16    2.24e-16
         48  |   1.51e-16   9.29e-17     1.63   0.108    -3.45e-17    3.37e-16
         51  |   2.39e-16   1.06e-16     2.26   0.028     2.71e-17    4.50e-16
         57  |   1.41e-16   9.33e-17     1.51   0.137    -4.59e-17    3.28e-16
         61  |   1.16e-16   9.06e-17     1.28   0.206    -6.54e-17    2.97e-16
         63  |   1.36e-16   9.16e-17     1.48   0.144    -4.78e-17    3.19e-16
         65  |   2.85e-16   1.13e-16     2.52   0.015     5.84e-17    5.12e-16
         73  |   2.20e-16   1.02e-16     2.17   0.034     1.69e-17    4.24e-16
         75  |   1.76e-16   1.01e-16     1.74   0.087    -2.61e-17    3.77e-16
         85  |   4.19e-17   8.94e-17     0.47   0.641    -1.37e-16    2.21e-16
         93  |   1.09e-16   9.01e-17     1.21   0.232    -7.15e-17    2.89e-16
        107  |   1.48e-16   9.30e-17     1.60   0.116    -3.79e-17    3.35e-16
        109  |   3.45e-16   1.25e-16     2.76   0.008     9.46e-17    5.95e-16
        111  |   8.24e-17   8.95e-17     0.92   0.361    -9.68e-17    2.62e-16
        113  |   1.60e-16   9.89e-17     1.61   0.112    -3.85e-17    3.58e-16
        116  |   1.94e-16   1.00e-16     1.94   0.058    -6.45e-18    3.95e-16
        123  |          1   2.29e-16  4.4e+15   0.000            1           1
        130  |   9.11e-17   8.96e-17     1.02   0.313    -8.82e-17    2.70e-16
        135  |          1   1.12e-16  9.0e+15   0.000            1           1
        137  |   1.05e-16   8.99e-17     1.16   0.249    -7.53e-17    2.85e-16
        140  |   1.17e-16   9.03e-17     1.30   0.200    -6.37e-17    2.98e-16
        141  |   8.84e-17   9.10e-17     0.97   0.335    -9.39e-17    2.71e-16
        142  |   1.62e-16   1.03e-16     1.58   0.120    -4.36e-17    3.68e-16
        149  |   8.23e-17   9.05e-17     0.91   0.367    -9.89e-17    2.63e-16
        153  |   2.05e-16   9.93e-17     2.06   0.044     5.86e-18    4.04e-16
        163  |   1.90e-16   1.03e-16     1.84   0.071    -1.69e-17    3.97e-16
        166  |   3.27e-16   1.27e-16     2.58   0.013     7.29e-17    5.81e-16
        170  |   2.10e-16   1.04e-16     2.01   0.049     1.12e-18    4.19e-16
        171  |   5.95e-17   8.93e-17     0.67   0.508    -1.19e-16    2.38e-16
        175  |   2.45e-16   1.06e-16     2.31   0.024     3.28e-17    4.58e-16
        176  |          1   2.30e-16  4.4e+15   0.000            1           1
        182  |          1   2.40e-16  4.2e+15   0.000            1           1
        184  |   1.15e-16   9.07e-17     1.27   0.208    -6.61e-17    2.97e-16
        191  |   1.01e-16   8.96e-17     1.13   0.263    -7.81e-17    2.81e-16
        193  |   1.51e-16   9.37e-17     1.61   0.114    -3.71e-17    3.38e-16
        198  |   1.79e-16   9.65e-17     1.86   0.068    -1.39e-17    3.73e-16
        203  |   7.04e-17   9.27e-17     0.76   0.451    -1.15e-16    2.56e-16
        207  |   1.87e-16   9.75e-17     1.92   0.060    -7.99e-18    3.83e-16
        211  |   8.45e-17   8.92e-17     0.95   0.348    -9.42e-17    2.63e-16
        212  |   2.32e-16   1.09e-16     2.13   0.038     1.34e-17    4.50e-16
        213  |   3.27e-16   1.27e-16     2.58   0.012     7.33e-17    5.80e-16
        220  |   1.48e-16   9.53e-17     1.55   0.127    -4.31e-17    3.39e-16
        223  |   1.18e-16   9.40e-17     1.25   0.215    -7.04e-17    3.06e-16
        226  |   7.88e-17   9.05e-17     0.87   0.387    -1.02e-16    2.60e-16
        228  |          1   2.30e-16  4.4e+15   0.000            1           1
             |
       _cons |   3.96e-16   1.76e-16     2.25   0.028     4.37e-17    7.47e-16
------------------------------------------------------------------------------

. scalar b4=_b[Democracy]

.  scalar se4=_se[Democracy]

.  scalar n4=e(N)

. timer off 1

. timer list 1
   1:      1.25 /        1 =       1.2500

. log close
      name:  <unnamed>
       log:  /Users/nealbeck/Dropbox/FEs/dataverse/dv_for_simon_1_10/beck_table_1.log
  log type:  text
 closed on:  11 Jan 2019, 17:04:25
------------------------------------------------------------------------------------------------------
